package com.dong.course.threadLocal;

import com.dong.thrift.user.dto.UserDTO;

public class UserDTOThreadLocal extends ThreadLocal<UserDTO> {
    public static UserDTOThreadLocal threadLocalInstacne = new UserDTOThreadLocal();
    private UserDTO userDTO;
    @Override
    public UserDTO get() {
        return super.get();
    }

    @Override
    public void set(UserDTO value) {
        super.set(value);
      //  this.userDTO= value;
    }

    @Override
    public void remove() {
        super.remove();
    }
}
